package com.kingmed.kmss.common.utils;

import javax.servlet.http.HttpServletRequest;

public class RequestUtils {
	
	/**
	 * 取得当前url地址
	 * 
	 * @param request
	 * @return
	 */
	public static String getRequestUrl(HttpServletRequest request) {
		String url = "";
        url = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();

		return url;
	
	}
}
